<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace Shuka189\Controller;

/**
 * Description of Notices
 *
 * @author SoChishun
 */
class Notices extends Appbase{
    public function index(){
        $this->display();
    }
    public function detail($id=0){
        $mDocument=new \XWAM\Model\ArticleModel();
        $data=$mDocument->find($id);
        $this->assign('data',$data);
        $this->display();
    }
}
